<? if (Zend_Auth::getInstance()->hasIdentity()): ?>
    <p> Вы уже залогинены</p>
    <?= $this->role; ?>
<? else :?>
<?php
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');
$this->headTitle()->setSeparator(' - ');
$this->headTitle('Проверка');
?>
<?= $this->doctype(); ?>
<html>
<head>

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<title>Dreamworks - Responsive admin template</title>
<link rel="shortcut icon" type="image/x-icon" href="./images/favicon.ico">
<!--Stylesheets-->
    <?= $this->headMeta(); ?>
    <?= $this->headTitle(); ?>
    <? $this->headLink()->appendStylesheet($this->baseUrl().'/styles/main.css'); ?>
    <? $this->headLink()->appendStylesheet($this->baseUrl().'/styles/reset.css'); ?>
    <?= $this->headLink()->appendStylesheet($this->baseUrl().'/styles/typography.css'); ?>

</head>


<body id="login_container">

<!--Dreamworks Container-->
<div id="dreamworks_container">

    <div id="login">
    	<img src="<?= $this->baseUrl();?>/images/logo_login.png" />
        <form method="POST">
        	<div class="input_box"> 
                    <span class="iconsweet">a</span>
                    <?= $this->form->login; ?>
                </div>
            <div class="input_box"> 
                <span class="iconsweet">y</span>
                <?= $this->form->password;?>
            </div>
            <div>
                <span style="float:left;"> 
                    <a class="forgot_password" href="#">Сыр сөздүү унуттунузбу?</a> <br />         
                    <a class="forgot_password" href="<?=$this->url(array(
                        'module'        => 'default',
                        'controller'    => 'users',
                        'action'        => 'registration'
                        ));?>"> Каттоо</a>
                </span>>

                <span style="float:right;">
                    <?= $this->form->submit; ?>
                </span>>
                <br clear="All"/>
            </div>
        </form>
    </div>
</body>
</html>
    <?//= $this->form; ?> <br>
<? endif; ?>